<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>盒子阴影</title>
  <style>
    div {
      height: 200px;
      width: 200px;
      background-color: pink;
      margin: 100px auto;
        transition:all 0.6s ease;
    }
    div:hover {
      box-shadow: 10px 10px 10px 10px rgba(0,0,0,0.3);

    }
  </style>
</head>
<body>
    <div></div>
</body>
</html>